#coding:utf-8
from app import app
from flask_script import Manager, Shell
# 通过配置创建 app
manager = Manager(app)
def make_shell_context():
	return dict(app=app)
manager.add_command("shell", Shell(make_context=make_shell_context))
@manager.command
def deploy():
	"""Run deployment tasks."""
	pass
if __name__ == '__main__':
	manager.run()
